package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName :SubjectCategoryConverter
 * Package :com.jingdianjichi.subject.domain.entity.convert
 * Desciption :
 *
 * @Author :
 * @Create : 17:00
 * @Version :1.0
 */

@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANCE = Mappers.getMapper(SubjectInfoConverter.class);

   SubjectInfo convertBOToInfo(SubjectInfoBO subjectInfoBO);

  // List<SubjectInfo> convertBOListToInfoList(List<SubjectInfoBO> subjectInfoBOS);


    SubjectInfoBO convertOptionToInfoBO(SubjectOptionBO subjectOptionBO);

    SubjectInfo convertBoToInfo(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoBO> convertListInfoToBO(List<SubjectInfo> subjectInfoList);
}
